#ifndef DOORBELL_CODEC_H
#define DOORBELL_CODEC_H 

void doorbell_codec_init(void);

void doorbell_codec_open(void);

void doorbell_codec_set_volume(int volume);

void doorbell_codec_set_mic_gain(int gain);

void doorbell_codec_read(void *buf, int len);

void doorbell_codec_write(const void *buf, int len);

void doorbell_codec_close(void);

void doorbell_codec_deinit(void);

#endif